#include"statement.h"

int max_value(int a, int b, int c)
{
	int max = a;
	if (b > max)
	{
		max = b;
	}
	if (c > max)
	{
		max = c;
	}
	return max;
}

void Calculation_functions()
{
	int a = 0;
	int b = 0;
	int c = 0;
	scanf_s("%d %d %d", &a, &b, &c);
	a = max_value(a + b, b, c);
	b = max_value(a, b + c, c);
	c = max_value(a, b, b + c);
	printf("%.2f", (float)a / (b + c));
}